//
//  ZZBottomView.h
//  NetesaeLottery
//
//  Created by 周英培 on 16/8/1.
//  Copyright © 2016年 周英培. All rights reserved.
//

#import <UIKit/UIKit.h>
@class ZZBottomView;
@protocol ZZBottomViewDelegate <NSObject>

@optional
- (void)bottomView:(ZZBottomView *)bottomView didSelectIndex:(NSInteger)index;

@end

@interface ZZBottomView : UIView

///根据传入的两张图片,去创建按钮,并且设置好图片, 最后添加到自己身上.
- (void)creatBtnWithImgName:(NSString *)imgName selImgName:(NSString *)selImgName;

@property (nonatomic,weak) id<ZZBottomViewDelegate>delegate;

@end
